package Year22_Month03.day08;

import java.util.Scanner;

public class Main1 {
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = sc.nextInt();
        int c = sc.nextInt();
        int d = sc.nextInt();
        int A = (a + c) / 2;
        int B = c - A;
        int C = d - B;
        if(Math.abs(a + c) % 2 == 0 && A >= 0 && B >= 0 && C >= 0){
            System.out.println(A + " " + B + " " + C);
        }else {
            System.out.println("No");
        }
    }
}
